package com.github.ompc.carrying.server;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by vlinux on 14-9-1.
 */
public class CarryingServerLauncher {

    private CarryingServerLauncher() {
        final ClassPathXmlApplicationContext ctx =
                new ClassPathXmlApplicationContext("classpath:/spring-carrying-server.xml");
        ctx.registerShutdownHook();

    }

    public static void main(String... args) {

        new CarryingServerLauncher();

    }

}
